<html><head><title>Seek Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03020304"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
p.P2{
}
span.T1{
font-weight:bold;}
</style></head><body>
<p class="P1"/>
<p class="Head1"><a name="seek"/><help:link Id="66592" xmlns:help="http://openoffice.org/2000/help">Seek Function [Runtime]</help:link></p>
<p class="Paragraph">Determines the position for the next writing or reading in a file, which was opened with the open statement. <a name="ende"/>The return valuecorresponds to the value determined by the Seek statement:</p>
<p class="Paragraph">For random access files, the Seek function returns the number of the next record to be read.</p>
<p class="Paragraph">For all other files, the function returns the byte position at which the next operation is to occur.</p>